<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/layout/meta.jsp" />
</head>
<body>
	<div id="header">
		<jsp:include page="/layout/header.jsp" />
	</div>
	<div id="navigator">
		<jsp:include page="/layout/navigator.jsp" />
	</div>
	<div id="container">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">公告管理 &gt; 編輯公告</h3>
			</div>
			<div class="panel-body">
				<form id="form" class="form-horizontal"
					action="<%=request.getContextPath()%>/settings/announce.do?sActionType=update"
					method="post">
					<input type="hidden" name="id" value="${model.id}" />
					<div class="form-group">
						<label for="title" class="col-sm-1 control-label">標題</label> 
						<div class="col-sm-11">
							<input type="title" title="標題" class="form-control" id="title"
								name="title" placeholder="標題" value="${model.title}">
							<span class="help-block"><span class="text-danger"></span></span>
						</div>
					</div>
					<div class="form-group">
						<label for="content" class="col-sm-1 control-label">內容</label>
						<div class="col-sm-11">
							<input type="text" title="內文" class="form-control" id="content"
								name="content" placeholder="內文" value="${model.content}">
							<span class="help-block"><span class="text-danger"></span></span>
						</div>
					</div>

					<button id="submitBtn" class="btn btn-primary btn-lg">修改</button>
					<a
						href="<%=request.getContextPath()%>/settings/announce.do?sActionType=list"
						class="btn btn-warning btn-lg">回到列表</a>
				</form>
			</div>
		</div>
	</div>
</body>
</html>